package com.sparrow.example_message.rank.vo;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "排行榜排行对象vo")
public class RankVo {
    @Protobuf(description = "desc")
    private long playerId;
    @Protobuf(description = "desc")
    private String playerName;
    @Protobuf(description = "desc")
    private int rankValue;
    @Protobuf(description = "排名")
    private int rank;

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }

    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public int getRankValue() {
        return rankValue;
    }

    public void setRankValue(int rankValue) {
        this.rankValue = rankValue;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }
}
